package com.innovatio.validator.test;

import java.util.ResourceBundle;
import java.util.Enumeration;

/**
 * This code is property of Innovatio Software Solutions, Inc.
 * User: Edxe
 * Date: Jul 16, 2009
 * Time: 5:44:26 AM
 */
public class MyResource extends ResourceBundle{

    @Override
    protected Object handleGetObject(String key) {
         if (key.equals("required_y")) return "Error Te falta la Y";
         if (key.equals("required_x")) return "Error te falta la Y";
         return "??"+key+"??";
    }

    @Override
    public Enumeration<String> getKeys() {
        return null;
    }
}
